package com.hqyj.mapper;



import com.hqyj.pojo.Department;

import java.util.List;

public interface DepartmentMapper {
    //查询用户，模糊
    List<Department> selectAll(String departmentName);
    //添加用户
    Integer insertDepartment(Department department);
    //删除用户
    Integer deleteDepartment(String deparmentName);
    //修改用户
    Integer updateDepartment(Department department);
    //获取所有部门
    List<Department> getAll();
}
